package com.yyb.mapper;

import com.yyb.domain.SysNotice;
import com.yyb.dto.SysNoticeQueryDTO;

import java.util.List;

/**
* @author LJH
* @description 针对表【sys_notice(通知公告表)】的数据库操作Mapper
* @createDate 2024-03-05 23:05:41
* @Entity com.yyb.domain.SysNotice
*/
public interface SysNoticeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysNotice record);

    int insertSelective(SysNotice record);

    SysNotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysNotice record);

    int updateByPrimaryKey(SysNotice record);

    /**
     * 根据条件查询通知公告
     * @param params
     * @return
     */
    List<SysNotice> queryAllNotice(SysNoticeQueryDTO params);
}
